<template>
<div>

    <a-button @click="changeValue">修改值</a-button>

</div>
</template>

<script>

export default {
    name: "mydemo",
    data(){
        return {
        }
    },
    methods: {

        changeValue(){
            this.$confirm({
                title:function (){
                  return "ABC"
                },
                content: 'destroy all',
                cancelText: 'Click to destroy all',
                onOk() {

                },

                onCancel() {

                },
            });
        },

    },

}
</script>

<style scoped>

</style>